<?
if($this->error)
	echo $this->content;
else
{
	header('Content-type: binary/octet-stream');
	header('Content-Disposition: attachment; filename="'.$this->fname.'"');
	echo $this->exec;
}
?>